#!/usr/bin/env bash
path=$1
files=$(ls ${path})
for filename in $files; do
  logStr=$(grep "===" ${path}/${filename})
  while IFS= read -r line; do
    array=(${line//:=/ })
    echo ${filename} ${array[0]} ${array[1]} ${array[2]}
  done < <(printf '%s\n' "$logStr")
done
